package com.zhuozhou.jdyc.main.main.bean;

import androidx.databinding.BaseObservable;

import java.util.List;

/**
 * Create by Once_ChuXy on 2021/8/16
 * Describe:底部商品
 */
public class BasicsCommodityTypeBean {

    /**
     * code : 200
     * msg : 首页底部商品列表
     * array : [{"commodity_id":7,"name":"埃尔曼洗衣液","xiaohao_integral":"15","goods_price":"9.90","line_price":"24.90","number":0,"sort":"7","spec_image":"/uploads/20210626/eaced003ce1f8c66952ecb1f14ff9fbf.jpg","image":"https://yuncang.dzsmxx.com/uploads/20210626/eaced003ce1f8c66952ecb1f14ff9fbf.jpg","Collection":0},{"commodity_id":43,"name":"测试（勿拍）","xiaohao_integral":"10","goods_price":"10.00","line_price":"100.00","number":111,"sort":"43","spec_image":"/uploads/20210720/eb36317fcd408ed90026dbe6de593356.jpg","image":"https://yuncang.dzsmxx.com/uploads/20210720/eb36317fcd408ed90026dbe6de593356.jpg","Collection":1},{"commodity_id":41,"name":"汇源桃复合果肉饮料","xiaohao_integral":"3","goods_price":"3.00","line_price":"6.00","number":0,"sort":"41","spec_image":"/uploads/20210708/a4ae95b74913c59d8b3eda71e022af83.jpg","image":"https://yuncang.dzsmxx.com/uploads/20210708/a4ae95b74913c59d8b3eda71e022af83.jpg","Collection":0},{"commodity_id":39,"name":"天然椰子香皂粉","xiaohao_integral":"12","goods_price":"9.90","line_price":"21.00","number":0,"sort":"39","spec_image":"/uploads/20210708/ef74935bd09ca6dcd03d6a7ba8b6c236.jpg","image":"https://yuncang.dzsmxx.com/uploads/20210708/ef74935bd09ca6dcd03d6a7ba8b6c236.jpg","Collection":0},{"commodity_id":38,"name":"汇源橙汁饮料","xiaohao_integral":"3","goods_price":"3.00","line_price":"6.00","number":0,"sort":"38","spec_image":"/uploads/20210708/02aa93637702e5b9a85bb194b4d5d439.jpg","image":"https://yuncang.dzsmxx.com/uploads/20210708/02aa93637702e5b9a85bb194b4d5d439.jpg","Collection":0},{"commodity_id":37,"name":"百事可乐","xiaohao_integral":"3","goods_price":"3.00","line_price":"6.00","number":0,"sort":"37","spec_image":"/uploads/20210708/1aec0daaf1d45a3db996ad1f8e41fd7a.jpg","image":"https://yuncang.dzsmxx.com/uploads/20210708/1aec0daaf1d45a3db996ad1f8e41fd7a.jpg","Collection":0},{"commodity_id":36,"name":"可口可乐","xiaohao_integral":"3","goods_price":"3.00","line_price":"6.00","number":0,"sort":"36","spec_image":"/uploads/20210708/41952b358654b4e8fd6ae873341cbf1f.jpg","image":"https://yuncang.dzsmxx.com/uploads/20210708/41952b358654b4e8fd6ae873341cbf1f.jpg","Collection":0},{"commodity_id":33,"name":"火锅蘸料（孜然）","xiaohao_integral":"2","goods_price":"0.90","line_price":"3.00","number":0,"sort":"33","spec_image":"/uploads/20210707/7ab4185fcd8b45570b1e89c43ff6c672.jpg","image":"https://yuncang.dzsmxx.com/uploads/20210707/7ab4185fcd8b45570b1e89c43ff6c672.jpg","Collection":0},{"commodity_id":32,"name":"那些年（酒）","xiaohao_integral":"9","goods_price":"2.90","line_price":"12.00","number":0,"sort":"32","spec_image":"/uploads/20210707/5bb44327c9d0528505fd9e3ec787f7ed.jpg","image":"https://yuncang.dzsmxx.com/uploads/20210707/5bb44327c9d0528505fd9e3ec787f7ed.jpg","Collection":0},{"commodity_id":29,"name":"金典果宴（蓝色盒坚果）","xiaohao_integral":"179","goods_price":"19.80","line_price":"198.00","number":0,"sort":"29","spec_image":"/uploads/20210707/803132ee184205e2659323cb10b51797.jpg","image":"https://yuncang.dzsmxx.com/uploads/20210707/803132ee184205e2659323cb10b51797.jpg","Collection":0}]
     */

    private int code;
    private String msg;
    private List<ArrayBean> array;
    private List<ArrayBean> obj;

    public int getCode() {
        return code;
    }

    public void setCode(int code) {
        this.code = code;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    public List<ArrayBean> getArray() {
        return array;
    }

    public void setArray(List<ArrayBean> array) {
        this.array = array;
    }

    public List<ArrayBean> getObj() {
        return obj;
    }

    public void setObj(List<ArrayBean> obj) {
        this.obj = obj;
    }

    public static class ArrayBean extends BaseObservable {

        /**
         * commodity_id : 39
         * name : 拉梦堡干红
         * images : /uploads/20210621/bf2377ceb460726f3e171f93f1acfa87.jpg,/uploads/20210621/4b7626a70c1e10faa7388e310f134797.jpg
         * integral : 278
         * goods_price : 278.00
         * line_price : 278.00
         * number : 8
         * spec_image : https://yuncang.dzsmxx.com/uploads/20210621/bf2377ceb460726f3e171f93f1acfa87.jpg
         * Collection : 0
         */
        private int commodity_id;
        private int id;
        private String name;
        private String xiaohao_integral;
        private String goods_price;
        private String line_price;
        private String number;
        private String number2;
        private String integral;
        private String sort;
        private String spec_image;
        private String image;
        private String images;
        private int Collection;

        public String getXiaohao_integral() {
            return xiaohao_integral;
        }

        public void setXiaohao_integral(String xiaohao_integral) {
            this.xiaohao_integral = xiaohao_integral;
        }

        public String getNumber2() {
            return number2;
        }

        public void setNumber2(String number2) {
            this.number2 = number2;
        }

        public String getSort() {
            return sort;
        }

        public void setSort(String sort) {
            this.sort = sort;
        }

        public String getImage() {
            return image;
        }

        public void setImage(String image) {
            this.image = image;
        }

        public int getCommodity_id() {
            return commodity_id;
        }

        public void setCommodity_id(int commodity_id) {
            this.commodity_id = commodity_id;
        }

        public int getId() {
            return id;
        }

        public void setId(int id) {
            this.id = id;
        }

        public String getName() {
            return name;
        }

        public void setName(String name) {
            this.name = name;
        }

        public String getImages() {
            return images;
        }

        public void setImages(String images) {
            this.images = images;
        }

        public String getIntegral() {
            return integral;
        }

        public void setIntegral(String integral) {
            this.integral = integral;
        }

        public String getGoods_price() {
            return goods_price;
        }

        public void setGoods_price(String goods_price) {
            this.goods_price = goods_price;
        }

        public String getLine_price() {
            return line_price;
        }

        public void setLine_price(String line_price) {
            this.line_price = line_price;
        }

        public String getNumber() {
            return number;
        }

        public void setNumber(String number) {
            this.number = number;
        }

        public String getSpec_image() {
            return spec_image;
        }

        public void setSpec_image(String spec_image) {
            this.spec_image = spec_image;
        }

        public int getCollection() {
            return Collection;
        }

        public void setCollection(int Collection) {
            this.Collection = Collection;
        }
    }

//    public static class ArrayBean extends BaseObservable {
//        /**
//         * commodity_id : 7
//         * name : 埃尔曼洗衣液
//         * xiaohao_integral : 15
//         * goods_price : 9.90
//         * line_price : 24.90
//         * number : 0
//         * sort : 7
//         * spec_image : /uploads/20210626/eaced003ce1f8c66952ecb1f14ff9fbf.jpg
//         * image : https://yuncang.dzsmxx.com/uploads/20210626/eaced003ce1f8c66952ecb1f14ff9fbf.jpg
//         * Collection : 0
//         */
//
//        private int commodity_id;
//        private String name;
//        private String xiaohao_integral;
//        private String goods_price;
//        private String line_price;
//        private int number;
//        private int number2;
//        private int integral;
//        private String sort;
//        private String spec_image;
//        private String image;
//        private String images;
//        private int Collection;
//
//        public int getCommodity_id() {
//            return commodity_id;
//        }
//
//        public void setCommodity_id(int commodity_id) {
//            this.commodity_id = commodity_id;
//        }
//
//        public String getName() {
//            return name;
//        }
//
//        public void setName(String name) {
//            this.name = name;
//        }
//
//        public String getXiaohao_integral() {
//            return xiaohao_integral;
//        }
//
//        public void setXiaohao_integral(String xiaohao_integral) {
//            this.xiaohao_integral = xiaohao_integral;
//        }
//
//        public String getGoods_price() {
//            return goods_price;
//        }
//
//        public void setGoods_price(String goods_price) {
//            this.goods_price = goods_price;
//        }
//
//        public String getLine_price() {
//            return line_price;
//        }
//
//        public void setLine_price(String line_price) {
//            this.line_price = line_price;
//        }
//
//        public int getNumber() {
//            return number;
//        }
//
//        public void setNumber(int number) {
//            this.number = number;
//        }
//
//        public int getNumber2() {
//            return number2;
//        }
//
//        public void setNumber2(int number2) {
//            this.number2 = number2;
//        }
//
//        public int getIntegral() {
//            return integral;
//        }
//
//        public void setIntegral(int integral) {
//            this.integral = integral;
//        }
//
//        public String getSort() {
//            return sort;
//        }
//
//        public void setSort(String sort) {
//            this.sort = sort;
//        }
//
//        public String getSpec_image() {
//            return spec_image;
//        }
//
//        public void setSpec_image(String spec_image) {
//            this.spec_image = spec_image;
//        }
//
//        public String getImage() {
//            return image;
//        }
//
//        public void setImage(String image) {
//            this.image = image;
//        }
//
//        public String getImages() {
//            return images;
//        }
//
//        public void setImages(String images) {
//            this.images = images;
//        }
//
//        public int getCollection() {
//            return Collection;
//        }
//
//        public void setCollection(int Collection) {
//            this.Collection = Collection;
//        }
//    }
}
